<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>唯智 | 管理系统</title>
		<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

		<!-- Bootstrap 3.3.6 -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/bootstrap/css/bootstrap.min.css">
		<!-- Font Awesome -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/font-awesome-4.6.3/css/font-awesome.min.css">
		<!-- Ionicons -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/ionicons-2.0.1/css/ionicons.min.css">
		<!-- Theme style -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/dist/css/AdminLTE.min.css">
		<!-- AdminLTE Skins -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/dist/css/skins/skin-blue.min.css">
		<!-- Pace style -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/pace/pace.min.css">
		<!-- artDialog style -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/artDialog/css/ui-dialog.css">
		<!-- iCheck Skins -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/icheck-1.x/skins/all.css">
		<!-- datepicker -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/datepicker/datepicker3.css">
		<!-- select2 -->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/select2/dist/css/select2.min.css">
		<!-- input tags-->
		<link rel="stylesheet" href="__PUBLIC__/AdminLTE/plugins/bootstrap-tagsinput/dist/bootstrap-tagsinput.css">
		<!-- bootstrap dialog -->
		<link href="__PUBLIC__/AdminLTE/plugins/bootstrap3-dialog/dist/css/bootstrap-dialog.min.css" rel="stylesheet" type="text/css" />
		<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
		<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
		<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
		<![endif]-->
		
		<!-- jQuery 2.2.3 -->
		<script src="__PUBLIC__/AdminLTE/plugins/jQuery/jquery-2.2.3.min.js"></script>
		<!-- Bootstrap 3.3.6 -->
		<script src="__PUBLIC__/AdminLTE/bootstrap/js/bootstrap.min.js"></script>
		<!-- AdminLTE App -->
		<script src="__PUBLIC__/AdminLTE/dist/js/app.min.js"></script>
		<!-- PACE -->
		<script src="__PUBLIC__/AdminLTE/plugins/pace/pace.min.js"></script>
		<!-- SlimScroll -->
		<script src="__PUBLIC__/AdminLTE/plugins/slimScroll/jquery.slimscroll.min.js"></script>
		<!-- FastClick -->
		<script src="__PUBLIC__/AdminLTE/plugins/fastclick/fastclick.js"></script>
		<!-- artDialog -->
		<script src="__PUBLIC__/AdminLTE/plugins/artDialog/dist/dialog-min.js"></script>
		<!-- artDialog helper -->
		<script src="__PUBLIC__/AdminLTE/plugins/artDialog/dist/dialog-hlp.js"></script>
		<!-- iCheck -->
		<script src="__PUBLIC__/AdminLTE/plugins/icheck-1.x/icheck.min.js"></script>
		<!-- datepicker -->
		<script src="__PUBLIC__/AdminLTE/plugins/datepicker/bootstrap-datepicker.js"></script>
		<!-- select2 -->
		<script src="__PUBLIC__/AdminLTE/plugins/select2/dist/js/select2.min.js"></script>
		<script src="__PUBLIC__/AdminLTE/plugins/select2/dist/js/i18n/zh-CN.js"></script>
		<!-- input tags -->
		<script src="__PUBLIC__/AdminLTE/plugins/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js"></script>
		<!-- bootstrap dialog -->
		<script src="__PUBLIC__/AdminLTE/plugins/bootstrap3-dialog/dist/js/bootstrap-dialog.min.js"></script>
	</head>
	<body class="hold-transition skin-blue sidebar-mini">
		<div class="wrapper">
			<header class="main-header">
				<a href="/admin" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels -->
					<span class="logo-mini"><b>唯智</b></span> <!-- logo for regular state and mobile devices -->
					<span class="logo-lg"><b>唯智</b> | 管理系统</span>
				</a>
				<nav class="navbar navbar-static-top" role="navigation">
					<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span></a>
					<div class="navbar-custom-menu">
						<ul class="nav navbar-nav">
							<li class="dropdown notifications-menu">
								<a data-toggle="dropdown" class="dropdown-toggle" href="#" aria-expanded="false">
									<i class="fa fa-bell-o"></i>
									<span class="label label-warning">{$_total_}</span>
								</a>
								<ul class="dropdown-menu">
									<li class="header">您有 {$_total_} 条消息未处理</li>
									<li>
										<ul class="menu">
											<foreach name="_msgList_" item="_msg">
												<li><a href="/admin/message/msgList?id={$_msg.id}"> <i class="fa fa-warning text-yellow"></i>{$_msg.message}</a></li>
											</foreach>
										</ul>
									</li>
									<li class="footer"><a href="/admin/message/msgList"><i class="fa fa-eye"></i>查看所有</a></li>
								</ul>
							</li>
							<li class="dropdown user user-menu">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown">
									<empty name="_user_.img">
										<img src="__PUBLIC__/AdminLTE/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
										<else />
										<img src="__PUBLIC__/{$_user_['img']}" class="user-image" alt="User Image">
									</empty>
									<span class="hidden-xs">{$_user_.name}</span>
								</a>
								<ul class="dropdown-menu">
									<li class="user-header">
										<empty name="_user_.img">
											<img src="__PUBLIC__/AdminLTE/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
											<else />
											<img src="__PUBLIC__/{$_user_['img']}" class="img-circle" alt="User Image">
										</empty>

										<p>
											{$_user_.name}
											<small>{$_user_.department_name}</small>
											<small>工号： No.{$_user_.work_number}</small>
										</p>
									</li>
									<li class="user-body">
										<div class="row">
											<div class="col-xs-12 text-center">
												<a href="javascript:;">越努力，越幸运</a>
											</div>
										</div>
									</li>
									<li class="user-footer">
										<div class="pull-left">
											<a href="/admin/index/profile" class="btn btn-default btn-flat">主页</a>
										</div>
										<div class="pull-right">
											<a href="/admin/login/logout" class="btn btn-default btn-flat">退出</a>
										</div>
									</li>
								</ul>
							</li>
							<li><a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a></li>
						</ul>
					</div>
				</nav>
			</header>